home *** CD-ROM | disk | FTP | other *** search
- .LINKED SCRIPT FOR MCI-MAIL BASIC SERVICE;
- .LINK IT TO YOUR QMODEM PHONE DIRECTORY ENTRY FOR MCI-MAIL.
- .AS IS, THIS SCRIPT PRINTS ALL YOUR MAIL IF YOU HAVE ANY,
- .THEN DISCONNECTS YELLS (BEEPS) FOR YOUR ATTENTION.
-
- .USE YOUR WORD PROCESSOR TO EDIT THIS FILE TO INCLUDE
- . [1] Your MCI-Mail username
- . [2] Your MCI-Mail password
- . [3] Any MCI-Mail command(s)
- . (examples are for standard, not advanced service)
-
- .COMMENTS ARE PREDEDED BY A PERIOD & REFER TO THE NEXT COMMAND LINE
-
- .Display message on-screen only
- NOTE ** LOGON TO MCI-MAIL VIA DIRECT CONNECT **
-
- .BEEP.SCR must be in your script directory
- $1 $2
- SCRIPT BEEP.SCR "MCI-MAIL.SCR"
- BEEPRET:
-
- .The next line says to WAITFOR 60 seconds before halting script
- TIMEOUT 60
-
- .Set key parameters for MCI-Mail
- TURNON XON/XOFF
- TURNOFF ECHO LINEFEED
-
- .Call MCI-Mail;
- .phone number, bps, comm parameters depend on directory entry #
- .for local #s contact MCI-Mail at 800-MCI-MAIL
-
- .MCI-Mail 'logon' is CR
- SEND "{"
-
- .Wait for MCI-Mail to request your user name
- WAITFOR "Please enter your user name: "
-
- .[1] Send your MCI-Mail user name followed by CR
- SEND "USERNAME{"
-
- .Wait for MCI-Mail to request your password
- WAITFOR "Password: "
-
- .[2] Send your password
- SEND "PASSWORD{"
-
- .If there are no messages, logoff immediately, otherwise print the mail
- TIMEOUT 15 MAIL
- WAITFOR "no messages"
- GOTO END
-
- MAIL:
- TIMEOUT 60
-
- .Turn on your printer
- TURNON PRINT
-
- .Wait for MCI-Mail to Request your input
- WAITFOR "<RETURN> to continue"
-
- .Send a CR
- SEND "{"
-
- .Wait for MCI-Mail to Request your input
- WAITFOR "or EXIT):"
-
- .[3] Select PRINT to print messages nonstop
- SEND "PRINT{"
-
- .Wait for MCI-Mail to Request your input
- WAITFOR "(or MENU or EXIT):"
-
- .[3] Select ALL to print incoming messages only
- . or INBOX to print just incoming messages
- SEND "ALL{"
-
- END:
-
- .Wait for MCI-Mail to Request your input
- WAITFOR "Press <RETURN> to continue"
-
- .Send a CR
- SEND "{"
-
- .Wait for MCI-Mail to Request your input
- WAITFOR "Command (or MENU or EXIT):"
-
- .[3] Select EXIT to log off
- SEND "EXIT{"
-
- .Disconnect from Phone Line
- HANGUP
-
- .Discontinue script processing; return control to keyboard
- SCRIPT END.SCR